package com.kry.mbs.controller;

import java.io.IOException;

import com.jfinal.core.ActionKey;
import com.jfinal.core.Controller;
import com.kry.mbs.service.ElemeReportService;

public class IndexController  extends Controller{
	
	
	//@Before(DemoInterceptor.class)
	public void index() throws IOException { 
		// setAttr("videoList", videoList);
		System.out.println("index.....");
		// ElemeReportService service = new ElemeReportService();//
		// service.getElemeUnOpenShop();
		
	     render("login.html");
	  } 
	
	//统计饿了么门店数据
	public void report() throws IOException { 
		// setAttr("videoList", videoList);
		System.out.println("report count start.....");
		ElemeReportService service = new ElemeReportService();//
		service.getElemeUnOpenShop();
		
		render("login.html");
	} 
	
	//@ActionKey("/login11")
	public void login1() throws IOException { 
	    renderText("你好，JFinal"); 
	    //render("amazeui/admin-form.html");
	} 
}
